package com.vamonossoftware.spike.spring.jws;


import javax.jws.WebMethod;
import javax.jws.WebService;

/**
 * An interface for the webservice.
 * Needs annotations to avoid exception:
 * <pre>
 * Caused by: com.sun.xml.internal.ws.model.RuntimeModelerException: A WebService annotation is not present on class: com.vamonossoftware.spike.spring.jws.SpikeServiceEP
 * at com.sun.xml.internal.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:201)
 * at com.sun.xml.internal.ws.client.WSServiceDelegate.createSEIPortInfo(WSServiceDelegate.java:687)
 * at com.sun.xml.internal.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:675)
 * at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:330)
 * at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:313)
 * at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:295)
 * at javax.xml.ws.Service.getPort(Service.java:92)
 * at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.prepare(JaxWsPortClientInterceptor.java:292)
 * </pre>
 */

@WebService
public interface SpikeServiceEP {
    @WebMethod
    String getGreeting();
}
